package com.ilxqx.framework.system.form.search;

import com.ilxqx.framework.system.enumeration.SysUserStatusEnum;
import com.ilxqx.framework.system.form.SearchForm;
import com.ilxqx.framework.system.form.search.annotation.Condition;
import com.ilxqx.framework.system.strategy.search.LikeConditionStrategy;
import lombok.Data;

/**
 * 系统用户搜索表单类
 * @author venus
 */
@Data
public class SysUserSearchForm implements SearchForm {

    /**
     * 用户账号
     */
    @Condition(conditionStrategy = LikeConditionStrategy.class)
    private String account;

    /**
     * 用户姓名
     */
    @Condition(conditionStrategy = LikeConditionStrategy.class)
    private String name;

    /**
     * 联系电话
     */
    @Condition(conditionStrategy = LikeConditionStrategy.class)
    private String phone;

    /**
     * 联系邮箱
     */
    @Condition(conditionStrategy = LikeConditionStrategy.class)
    private String email;

    /**
     * 用户状态
     */
    @Condition
    private SysUserStatusEnum status;

}
